package com.oner365.test.tree.data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.oner365.test.tree.enums.StatusEnum;

/**
 * 账号应用资源
 *
 * @author zhaoyong
 *
 */
public class AppResourceDto implements Serializable {

  /**
  *
  */
  private static final long serialVersionUID = 1L;

  /**
   * 主键
   */
  private Long id;

  /**
   * 应用ID
   */
  private String appId;

  /**
   * 应用名称
   */
  private String appName;

  /**
   * 标签名称
   */
  private String tagName;

  /**
   * 资源ID
   */
  private String resId;

  /**
   * 资源名称
   */
  private String resName;

  /**
   * 资源类型
   */
  private String resType;

  /**
   * 资源描述
   */
  private String resDesc;

  /**
   * 地址
   */
  private String url;

  /**
   * 父级ID
   */
  private Long pid;

  /**
   * 父级名称
   */
  private String pidName;

  /**
   * 扩展项
   */
  private String extendField;

  /**
   * 状态
   */
  private StatusEnum status;

  /**
   * 操作ID
   */
  private Long operateId;

  /**
   * 操作人
   */
  private String operateName;

  /**
   * 创建时间
   */
  private Date createTime;

  /**
   * 修改时间
   */
  private Date updateTime;

  /**
   * 子级集合
   */
  private List<AppResourceDto> children = new ArrayList<>();

  /**
   * @return the id
   */
  public Long getId() {
    return id;
  }

  /**
   * @param id the id to set
   */
  public void setId(Long id) {
    this.id = id;
  }

  /**
   * @return the appId
   */
  public String getAppId() {
    return appId;
  }

  /**
   * @param appId the appId to set
   */
  public void setAppId(String appId) {
    this.appId = appId;
  }

  /**
   * @return the appName
   */
  public String getAppName() {
    return appName;
  }

  /**
   * @param appName the appName to set
   */
  public void setAppName(String appName) {
    this.appName = appName;
  }

  /**
   * @return the tagName
   */
  public String getTagName() {
    return tagName;
  }

  /**
   * @param tagName the tagName to set
   */
  public void setTagName(String tagName) {
    this.tagName = tagName;
  }

  /**
   * @return the resId
   */
  public String getResId() {
    return resId;
  }

  /**
   * @param resId the resId to set
   */
  public void setResId(String resId) {
    this.resId = resId;
  }

  /**
   * @return the resName
   */
  public String getResName() {
    return resName;
  }

  /**
   * @param resName the resName to set
   */
  public void setResName(String resName) {
    this.resName = resName;
  }

  /**
   * @return the resType
   */
  public String getResType() {
    return resType;
  }

  /**
   * @param resType the resType to set
   */
  public void setResType(String resType) {
    this.resType = resType;
  }

  /**
   * @return the resDesc
   */
  public String getResDesc() {
    return resDesc;
  }

  /**
   * @param resDesc the resDesc to set
   */
  public void setResDesc(String resDesc) {
    this.resDesc = resDesc;
  }

  /**
   * @return the url
   */
  public String getUrl() {
    return url;
  }

  /**
   * @param url the url to set
   */
  public void setUrl(String url) {
    this.url = url;
  }

  /**
   * @return the pid
   */
  public Long getPid() {
    return pid;
  }

  /**
   * @param pid the pid to set
   */
  public void setPid(Long pid) {
    this.pid = pid;
  }

  /**
   * @return the pidName
   */
  public String getPidName() {
    return pidName;
  }

  /**
   * @param pidName the pidName to set
   */
  public void setPidName(String pidName) {
    this.pidName = pidName;
  }

  /**
   * @return the extendField
   */
  public String getExtendField() {
    return extendField;
  }

  /**
   * @param extendField the extendField to set
   */
  public void setExtendField(String extendField) {
    this.extendField = extendField;
  }

  /**
   * @return the status
   */
  public StatusEnum getStatus() {
    return status;
  }

  /**
   * @param status the status to set
   */
  public void setStatus(StatusEnum status) {
    this.status = status;
  }

  /**
   * @return the operateId
   */
  public Long getOperateId() {
    return operateId;
  }

  /**
   * @param operateId the operateId to set
   */
  public void setOperateId(Long operateId) {
    this.operateId = operateId;
  }

  /**
   * @return the operateName
   */
  public String getOperateName() {
    return operateName;
  }

  /**
   * @param operateName the operateName to set
   */
  public void setOperateName(String operateName) {
    this.operateName = operateName;
  }

  /**
   * @return the createTime
   */
  public Date getCreateTime() {
    return createTime;
  }

  /**
   * @param createTime the createTime to set
   */
  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  /**
   * @return the updateTime
   */
  public Date getUpdateTime() {
    return updateTime;
  }

  /**
   * @param updateTime the updateTime to set
   */
  public void setUpdateTime(Date updateTime) {
    this.updateTime = updateTime;
  }

  /**
   * @return the children
   */
  public List<AppResourceDto> getChildren() {
    return children;
  }

  /**
   * @param children the children to set
   */
  public void setChildren(List<AppResourceDto> children) {
    this.children = children;
  }
  
  
  
}
